<?php

class Application_Form_Jcrop extends Asd_Form
{

    public function init()
    {
        $this->setName('name_form');
        parent::init();
        
        $x = new Zend_Form_Element_Hidden('x');
        $this->addElement($x);
        
        $y = new Zend_Form_Element_Hidden('y');
        $this->addElement($y);
        
        $height = new Zend_Form_Element_Hidden('h');
        $this->addElement($height);
        
        $width = new Zend_Form_Element_Hidden('w');
        $this->addElement($width);
        
        $submit = new Zend_Form_Element_Submit('submit');
        $submit->setLabel('Кыркуу')
                ->setAttrib('class', 'button_big')
                ->setAttrib('onClick', 'asd()');
        $this->addElement($submit);
    }


}

